package net.xdclass.constant;

/**
 * @author guangyang
 * @since 2023-01-19
 **/
public class CacheKey {
    /**
     * 验证码 ，md5加密的 ip地址和浏览器头
     */
    public static final String CAPTCHA_CODE_KEY ="user-service:captcha:%s";
    /**
     * 注册验证码，类型，地址
     */
    public static final String CHECK_CODE_KEY="code:%s:%s";

    /**
     *购物车 hash结果，key是用户唯一标识
     */
    public static final String CART_KEY= "cart:%s";
}
